import PostStore from './post'
import RootStore from './root'

const createStore = () => {
  const root = new RootStore()
  const post = new PostStore()

  const stores = {
    root: root,
    post: post,
  }

  return stores
}

export default createStore
